home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Source Code
/
Visual Basic Source Code.iso
/
vbsource
/
likene1a
/
myprog9.frm
< prev
next >
Wrap
Text File
|
1999-09-24
|
2KB
|
88 lines
VERSION 5.00
Begin VB.Form Form8
BorderStyle = 3 'Fixed Dialog
Caption = "show picture"
ClientHeight = 2790
ClientLeft = 3645
ClientTop = 2235
ClientWidth = 4935
ControlBox = 0 'False
LinkTopic = "Form2"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 2790
ScaleWidth = 4935
ShowInTaskbar = 0 'False
Begin VB.CommandButton Command1
Caption = "Exit"
BeginProperty Font
Name = "Arial"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 0
TabIndex = 3
Top = 2400
Width = 2055
End
Begin VB.FileListBox File1
Height = 675
Left = 0
Pattern = "*.bmp;*.wmp;*.ico"
TabIndex = 2
Top = 1680
Width = 2055
End
Begin VB.DirListBox Dir1
Height = 1215
Left = 0
TabIndex = 1
Top = 360
Width = 2055
End
Begin VB.DriveListBox Drive1
Height = 315
Left = 0
TabIndex = 0
Top = 0
Width = 2055
End
Begin VB.Image Image1
BorderStyle = 1 'Fixed Single
Height = 2775
Left = 2160
Stretch = -1 'True
Top = 0
Width = 2775
End
End
Attribute VB_Name = "Form8"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Unload Form8
frmmain.Show
End Sub
Private Sub Dir1_Change()
File1.Path = Dir1.Path
End Sub
Private Sub Drive1_Change()
Dir1.Path = Drive.Drive
End Sub
Private Sub File1_Click()
selectedfile = File1.Path & "\" & File1.filename
Image1.Picture = LoadPicture(selectedfile)
End Sub